/* 权限卡片样式 */
.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.permission-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 15px;
  transition: all 0.2s;
}

.permission-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.permission-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.color-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 10px;
}

.permission-name {
  font-weight: 600;
  font-size: 16px;
  color: #2c3e50;
  flex: 1;
}

.permission-actions {
  display: flex;
  gap: 5px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background-color: #f5f5f5;
}

.permission-desc {
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 10px;
}

.permission-features {
  margin-top: 15px;
}

.feature-title {
  font-weight: 600;
  font-size: 14px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-item {
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

.feature-item i.fa-check {
  color: #2ecc71;
}

.feature-item i.fa-times {
  color: #e74c3c;
}
